package net.neptech.service;

import net.neptech.model.information.InforArticle;
import net.neptech.model.information.InforNews;

import java.util.List;

/**
 * @Author 谢辉
 * @Date 2025/8/21 11:42
 * @Description TODO
 **/
public interface InforNewsService {

    //增加新闻
    void addInforNews(InforNews inforNews);

    //删除新闻
    void deleteInforNews(Long id);

    //查询全部新闻
    List<InforNews> findInforNews();

    //修改新闻
    void updateInforNews(InforNews inforNews);

    //根据id查询新闻
    InforNews findInforNewsById(Long id);
}
